package ddd.mapper;

import ddd.bo.UserLoginRequest;
import org.springframework.stereotype.Component;

@Component
public class UserMapper {
    public boolean login(UserLoginRequest userLoginRequest) {

        return  "zs".equals(userLoginRequest.getUsername()) && "123".equals(userLoginRequest.getPassword());

    }
}
